import { createApp } from 'vue'
import App from './App.vue'
import store from './store';
import TDesign from 'tdesign-vue-next';
import { routes } from './routers';
import { createRouter, createWebHistory } from 'vue-router';
import 'tdesign-vue-next/es/style/index.css';
import './index.css'

const router = createRouter({
    history:createWebHistory(),
    routes:routes
})

const app = createApp(App)
app.use(router)
app.use(store)
app.use(TDesign)
app.mount('#app');
